package com.my.bld.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
@Entity
@Table(name="shop")
@DynamicInsert
@DynamicUpdate
public class Shop {
//商品类型：食品类、杂货类、便利性商品、文化出版物
	
	private Integer id;
	
	private Integer type;//类型 1食品类 2 杂货类 3 便利性商品 4 文化出版物
	
	private String name;//商品名
	
	private Integer isDelete;
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
	
	
}
